home *** CD-ROM | disk | FTP | other *** search
/ Mobiclic 71 / MOBICLIC 71.ISO / mac / DATA / COMMUN / temp0001 / 00296_Script_LANCEMENT_SON_ENCADRE < prev    next >
Text File  |  2004-12-05  |  655b  |  24 lines

  1. global gNom_encadre
  2. property pLabel,pFlag_son,pNom_son
  3. -----------------
  4. on getPropertyDescriptionList me
  5.   return [#pFlag_son:[#comment: "type de son:",#format:#string,#range:["associΘ au label","autre"], #default: TRUE],\
  6. #pNom_son:[#comment: "nom du son si autre:",#format:#string,#default: EMPTY]]
  7. end getPropertyDescriptionList
  8. -----------------
  9. on prepareFrame me
  10.   pLabel = the frameLabel
  11.   cursor -1
  12. end
  13. ----------------
  14. on exitFrame me
  15.   niveauSon()
  16.   case(pFlag_son) of
  17.     "associΘ au label":
  18.       joueson(gNom_encadre&pLabel)
  19.     "autre":
  20.       if pNom_son <> EMPTY then joueson(pNom_son)
  21.   end case
  22. end
  23. --------------
  24.